package com.linzp.bishe.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.linzp.bishe.entity.Meeting;
import lombok.Data;

/**
 * @ClassName MeetingExcel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/3/1 12:33
 * @Version 1.0
 */
@Data
public class MeetingExcel {

	@ExcelProperty("会议名称")
	private String meetingName;

	@ExcelProperty("会议类型")
	private String meetingType;

	@ExcelProperty("学科门类")
	private String disciplineCategory;

	public Meeting getMeeting(){
		return new Meeting()
				.setMeetingName(this.meetingName)
				.setMeetingType(this.meetingType)
				.setDisciplineCategory(this.disciplineCategory);
	}
}
